<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY background=cid:007d01bf6b26$d13e17e0$152fbcc8@default bgColor=#00ffff 
onload=StartHeadliner() onunload=StopHeadliner()>
<DIV>&nbsp;</DIV>
<DIV style="FONT: 10pt arial">
<DIV>&nbsp;</DIV></DIV>
<DIV><BR></DIV><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>

<STYLE>

  .stHeadliner {font-family: lucida console, courier new, monospace;

                font-size: 11pt;

                font-weight: bold;

                font-style: italic;

                background: yellow;

                color: red}

 

</STYLE>

<SCRIPT language=JavaScript>

<!-- start hide

// Delay in milliseconds for the growing headliner

growWait=90

 

// Delay in milliseconds for the expanding headliner

expandWait=120

 

// Delay in milliseconds for the scrolling headliner

scrollWait=100

 

// Number of characters in scrolling zone for the scrolling headliner

scrollWidth=40

 

// Number of lines, specify as much as you want to use

lineMax=4

lines=new Array(lineMax)

 

// Define the lines (Text to display, url, effect, time to wait)

lines[1]=new Line("Ol querido amigo Duda :)))).", "da SOM & IMAGEM", Expand, 2000)

lines[2]=new Line("Aqui est o que me pediu.", "http://www.cnn.com", Scroll, 1000)

lines[3]=new Line("A cada dia mais feliz em estar aprendendo coisas novas", "http://developer.netscape.com/library/documentation/index.html", Static, 2500)

lines[4]=new Line("Agradeo muito pelo ensentivo, TE ADORO MUITO", "mailto:mop89592@mail.telepac.pt.nl?subject=Feras em javascript", Grow, 3000)

 

// Some other variables (just don't change)

lineText=""

timerID=null

timerRunning=false

spaces=""

charNo=0

charMax=0

charMiddle=0

lineNo=0

lineWait=0

 

// Define line object

function Line(text, url, type, wait) {

 this.text=text

 this.url=url

 this.Display=type

 this.wait=wait

}

 

// Fill a string with n chars c

function StringFill(c, n) {

 s=""

 while (--n >= 0) {

  s+=c

 }

 return s

}

 

function Static() {

 document.formDisplay.buttonFace.value=this.text

 timerID=setTimeout("ShowNextLine()", this.wait)

}

 

function Grow() {

 lineText=this.text

 lineWait=this.wait

 charMax=lineText.length

 TextGrow()

}

 

function TextGrow() {

 if (charNo <= charMax) {

  document.formDisplay.buttonFace.value=lineText.substring(0, charNo)

  charNo++

  timerID=setTimeout("TextGrow()", growWait)

 }

 else {

  charNo=0

  timerID=setTimeout("ShowNextLine()", lineWait)

 }

}

 

function Expand() {

 lineText=this.text

 charMax=lineText.length

 charMiddle=Math.round(charMax / 2)

 lineWait=this.wait

 TextExpand()

}

 

function TextExpand() {

 if (charNo <= charMiddle) {

  document.formDisplay.buttonFace.value=lineText.substring(charMiddle - charNo, charMiddle + charNo)

  charNo++

  timerID=setTimeout("TextExpand()", expandWait)

 }

 else {

  charNo=0

  timerID=setTimeout("ShowNextLine()", lineWait)

 }

}

 

function Scroll() {

 spaces=StringFill(" ", scrollWidth)

 lineText=spaces+this.text

 charMax=lineText.length

 lineText+=spaces

 lineWait=this.wait

 TextScroll()

}

 

function TextScroll() {

 if (charNo <= charMax) {

  document.formDisplay.buttonFace.value=lineText.substring(charNo, scrollWidth+charNo)

  charNo++

  timerID=setTimeout("TextScroll()", scrollWait)

 }

 else {

  charNo=0

  timerID=setTimeout("ShowNextLine()", lineWait)

 }

}

 

function StartHeadliner() {

 StopHeadliner()

 timerID=setTimeout("ShowNextLine()", 1000)

 timerRunning=true

}

 

function StopHeadliner() {

 if (timerRunning) { 

  clearTimeout(timerID)

  timerRunning=false

 }

}

 

function ShowNextLine() {

 (lineNo < lineMax) ? lineNo++ : lineNo=1

 lines[lineNo].Display()

}

 

function GotoUrl(url)

{

 top.location.href=url

}

// end hide -->

</SCRIPT>

<DIV style="FONT: 10pt arial">
<DIV>&nbsp;</DIV></DIV>
<DIV><BR></DIV>
<CENTER>
<FORM name=formDisplay><INPUT class=stHeadLiner name=buttonFace onclick=GotoUrl(lines[lineNo].url) style="HEIGHT: 27px; WIDTH: 496px" type=button value=""></INPUT> 
</FORM></CENTER>
<P align=left><BR><FONT color=#ff0000><STRONG><EM><FONT 
face=Arial></FONT></EM></STRONG></FONT>&nbsp;</P></BODY></HTML>

